package org.cvcsc.weproject.controller.dto;

import org.cvcsc.weproject.domain.CourseScheduleTime;
import org.cvcsc.weproject.service.CourseScheduleUpdateCommand;

public class RequestDtoUpdateCourseSchedule {
    public CourseScheduleUpdateCommand toCommand() {
        return new CourseScheduleUpdateCommand(this.clazzId, this.courseName, this.courseScheduleTime);
    }

    private Long clazzId;
    private String courseName;
    private CourseScheduleTime courseScheduleTime;

    public CourseScheduleTime getCourseScheduleTime() {
        return courseScheduleTime;
    }

    public void setCourseScheduleTime(CourseScheduleTime courseScheduleTime) {
        this.courseScheduleTime = courseScheduleTime;
    }

    // Getters and Setters
    public Long getClazzId() {
        return clazzId;
    }

    public void setClazzId(Long clazzId) {
        this.clazzId = clazzId;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

}